# # import os
# #
# #
# # def count_code_lines(file_path):
# #     """
# #     统计指定文件的代码行数（不包括空行和注释）
# #     """
# #     code_lines = 0
# #     with open(file_path, 'r', encoding='utf-8') as f:
# #         in_comment_block = False
# #         for line in f:
# #             line = line.strip()
# #             if not line:
# #                 continue
# #             if line.startswith('"""') or line.startswith("'''"):
# #                 in_comment_block = not in_comment_block
# #             elif in_comment_block or line.startswith('#'):
# #                 continue
# #             else:
# #                 code_lines += 1
# #     return code_lines
# #
# #
# # def walk_and_count_code_lines(folder_path):
# #     """
# #     遍历指定目录下的所有.py文件，并统计代码行数
# #     """
# #     total_code_lines = 0
# #     for root, dirs, files in os.walk(folder_path):
# #         # 过滤掉不需要统计的目录
# #         if '__pycache__' in dirs:
# #             dirs.remove('__pycache__')
# #         # 过滤掉不需要统计的文件
# #         for file_name in files:
# #             if not file_name.endswith('.py'):
# #                 continue
# #             file_path = os.path.join(root, file_name)
# #             total_code_lines += count_code_lines(file_path)
# #
# #     return total_code_lines
# #
# #
# # if __name__ == '__main__':
# #     folder_path = '/path/to/your/project'
# #     total_code_lines = walk_and_count_code_lines(folder_path)
# #     print('Total Code Lines:', total_code_lines)
#
#
# # import os
# #
# #
# # def count_code_lines(file_path):
# #     """
# #     统计指定文件的代码行数（不包括空行和注释）
# #     """
# #     code_lines = 0
# #     with open(file_path, 'r', encoding='utf-8') as f:
# #         in_comment_block = False
# #         for line in f:
# #             line = line.strip()
# #             if not line:
# #                 continue
# #             if line.startswith('/*'):
# #                 in_comment_block = True
# #             elif line.endswith('*/'):
# #                 in_comment_block = False
# #             elif in_comment_block or line.startswith('//') or line.startswith('*') or line.startswith('<!--'):
# #                 continue
# #             else:
# #                 code_lines += 1
# #     return code_lines
# #
# #
# # def walk_and_count_code_lines(folder_path):
# #     """
# #     遍历指定目录下的所有.js和.vue文件，并统计代码行数
# #     """
# #     total_code_lines = 0
# #     excluded_dirs = ['.git', 'node_modules']
# #     excluded_files = ['App.vue', 'index.html']
# #     for root, dirs, files in os.walk(folder_path):
# #         # 过滤掉不需要统计的目录
# #         for excluded_dir in excluded_dirs:
# #             if excluded_dir in dirs:
# #                 dirs.remove(excluded_dir)
# #         # 过滤掉不需要统计的文件
# #         for excluded_file in excluded_files:
# #             if excluded_file in files:
# #                 files.remove(excluded_file)
# #         for file_name in files:
# #             if not file_name.endswith('.js') and not file_name.endswith('.vue'):
# #                 continue
# #             file_path = os.path.join(root, file_name)
# #             total_code_lines += count_code_lines(file_path)
# #
# #     return total_code_lines
# #
# #
# # if __name__ == '__main__':
# #     folder_path = 'D:\kugl_project\jdgl_vue\gkd_meeting_manage_system_vue'
# #     total_code_lines = walk_and_count_code_lines(folder_path)
# #     print('Total Code Lines:', total_code_lines)
# import requests
#
# headers = {
#     'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
#     'user-agent': 'Mozilla/5.0(Windows NT 10.0;WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36', }
#
# url = 'http://zbb.tju.edu.cn/sfw_cms/e'
#
# params = {
#  'window_': 'json',
#  'start': '1',
#  'limit': '25',
#  'filter': '',
#  'sort': 'begin_time desc,sync_time desc',
#  'type': 'CSXQ',
#  'type': 'ZCXQ',
#  'type': 'BYXQ',
#  'type': 'YQXQ',
#  'shopType': '',
#  'orgType': '',
#  'catalog': '',
#  'keywords': '',
#  'request_method_': 'ajax',
#  'browser_': 'notmsie',
#  'page': 'cms.psms.publish.query'
# }
#
#
# res = requests.post(url=url, headers=headers, data=params, verify=False)
#
# print(res.json())
# import re
# a = re.findall('<a.*>(.*?)</a>','b><a2121212121>123123</a>12444444')
# print(a)


# from wxpy import Bot

# 创建 wxpy.Bot 实例
# bot = Bot()

# 将 URL 转为二维码并保存为本地文件
